/**
 * @fileOverview keydown edit label
 * @author huangtonger@aliyun.com
 */
const Page = require('../../base/');

Page.registerBehaviour('keydownEditLabel', mind => {
  const graph = mind.getGraph();
  graph.behaviourOn('keydown', ev => {
    mind.showLabelEditor(ev);
  });
});
